package cn.taobaoke.restful.domain;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface InviteCodeRepository extends JpaRepository<InviteCodeEntity, Long> {
    Optional<InviteCodeEntity> findByCode(String code);
}
